package com.chengxiaoxiao.ai_demo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 指令信息表 实体对象
 *
 * @Description:
 * @Author: Cheng Xiaoxiao
 * @Date: 2025-03-18 10:02:00
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Schema(description = "指令信息实体对象")
public class InstructionInfo implements Serializable {

    private static final long serialVersionUID = 1L;
    @Schema(description = "主键")
    @TableId
    private String id;
    @Schema(description = "指令名称")
    private String instructionName;
    @Schema(description = "指令说明")
    private String instructionDescription;
    @Schema(description = "指令类型")
    private String instructionType;
    @Schema(description = "指令提示词")
    private String instructionMessage;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @Schema(description = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
